package com.godo.hadoop;

import java.io.IOException;

import com.godo.hadoop.merger.MyTestMerger;
import com.godo.hadoop.merger.TestMerger;

/**
 * hadoop 运行
 * @author diyong
 *
 */
public class StartRun {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		String in= "E:/data/txt/人文科学/";//conf.get("log.in.path") ;
		String out="e:/data/test/";
		try {
			new MyTestMerger(in,out).merger() ;
			
			in = out ;
			out = "e:/data/test2/" ;
			new TestMerger(in,out).merger() ;
			
		} catch (IOException e) {
			e.printStackTrace();
		} catch (InterruptedException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		} catch (ClassNotFoundException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
	}

}
